function [ net ] = trainNet( net, trainingPatterns, trainingResults , LEARNING_RATE)
%TRAINNET Summary of this function goes here
%   Detailed explanation goes here

for i = 1 : size(trainingPatterns)
    Vs = feedForward(net, trainingPatterns(i,:));
    net = backPropagation(net, trainingResults(i, :), Vs, LEARNING_RATE);
end

